package com.ssps.front.ternant.service;

import com.ssps.entity.*;

import java.util.List;

/**
 * @author Hala Zhou
 * @time 2020/07/21 22:20:12
 */
public interface TernantService {

    UserInfo selectOneUserInfo(Integer uiid);

    List<Comment> selectAllConmmont(Integer pid);

    void updateUserInfo(UserInfo userInfo);

    void updateUser(User loginUser);

    List<Orders> selectOrders(Integer uiid, Integer page);

    void uploadIdCard(String front, String back, Integer uiid);

    List<UserCoupon> selectAllCoupon(Integer uiid);

    User selectOneUser(int uid);

    void uploadPlate(String plateimg, String driverimg, Integer uiid);

    void referralCode(UserInfo loginUserInfo);

    Information selectOneInformation(Integer uiid);

    void refund(Integer pid2);

    void recharge(String uiid, String money);

    void addComment(Comment comment);

    void report(Complaint complaint, String pid);

    void topup(Integer uiid, String combo);

    void withdrawMoney(Integer uiid, String money);
}
